import axios from '@/libs/api.request'

export class BillApi {
  // 客户账单列表
  static customerBillList (params) {
    return axios.request({
      url: '/bill/CustomerBillList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 薪资明细账单
  static salaryDetails (params) {
    return axios.request({
      url: '/bill/SalaryDetails',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 查询客户社保明细
  static sIDetails (params) {
    return axios.request({
      url: '/bill/SIDetails',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 查询客户公积金明细
  static cPFDetails (params) {
    return axios.request({
      url: '/bill/CPFDetails',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 查询客户商保明细
  static cIDetails (params) {
    return axios.request({
      url: '/bill/CIDetails',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 查询客户服务费明细
  static sFeeDetails (params) {
    return axios.request({
      url: '/bill/SFeeDetails',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 查询客户明细汇总
  static allInsureDetails (params) {
    return axios.request({
      url: '/bill/AllInsureDetails ',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 总明细列表导出
  static exportALLDetailTotal (params) {
    return axios.request({
      url: '/bill/ExportALLDetailTotal ',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 总明细列表导出PDF
  static exportALLDetailTotalPDF (params) {
    return axios.request({
      url: '/bill/ExportALLDetailTotalPDF ',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 总明细列表导出
  static exportALLDetailTotalChiZhi (params) {
    return axios.request({
      url: '/bill/ExportALLDetailTotalForCaizhi ',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 总明细列表导出PDF
  static exportALLDetailTotalPDFCaiZhi (params) {
    return axios.request({
      url: '/bill/ExportALLDetailTotalPDFForCaizhi ',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 客户账单汇总
  static allFeeTotal (params) {
    return axios.request({
      url: '/bill/AllFeeTotal',
      method: 'get',
      enctype: 'multipart/form-data',
      params: params
    })
  }

  // 客户服务费汇总
  static serviceFeeTotal (params) {
    return axios.request({
      url: '/bill/ServiceFeeTotal',
      method: 'get',
      enctype: 'multipart/form-data',
      params: params
    })
  }

  // 客户社保汇总
  static socialInsureTotal (params) {
    return axios.request({
      url: '/bill/SocialInsureTotal',
      method: 'get',
      enctype: 'multipart/form-data',
      params: params
    })
  }

  // 单位费用明细
  static customerDetailedBillList (params) {
    return axios.request({
      url: '/bill/CustomerDetailedBillList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 客户账单审核
  static checkBill (params) {
    return axios.request({
      url: '/bill/CheckBill',
      method: 'get',
      enctype: 'multipart/form-data',
      params: params
    })
  }

  // 客户账单回退
  static unCheckBill (params) {
    return axios.request({
      url: '/bill/UnCheckBill',
      method: 'get',
      enctype: 'multipart/form-data',
      params: params
    })
  }

  // 汇总报表导出pdf
  static exportALLTotalPDF (params) {
    return axios.request({
      url: '/bill/ExportALLTotalPDF',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 汇总报表导出
  static exportALLTotal (params) {
    return axios.request({
      url: '/bill/ExportALLTotal',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }
  // 汇总报表导出pdf
  static exportALLTotalPDFCaiZhi (params) {
    return axios.request({
      url: '/bill/ExportALLTotalPDFForCaizhi',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 汇总报表导出
  static exportALLTotalCaiZhi (params) {
    return axios.request({
      url: '/bill/ExportALLTotalForCaizhi',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 服务费汇总报表导出
  static exportServiceFeeTotal (params) {
    return axios.request({
      url: '/bill/ExportServiceFeeTotal',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 服务费明细报表导出
  static exportSFeeDetails (params) {
    return axios.request({
      url: '/bill/ExportSFeeDetails',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 薪资明细报表导出
  static exportSalaryDetails (params) {
    return axios.request({
      url: '/bill/ExportSalaryDetails',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 商保明细报表导出
  static exportCIDetails (params) {
    return axios.request({
      url: '/bill/ExportCIDetails',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 公积金明细报表导出
  static exportCPFDetails (params) {
    return axios.request({
      url: '/bill/ExportCPFDetails',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 社保明细报表导出
  static exportSIDetails (params) {
    return axios.request({
      url: '/bill/ExportSIDetails',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 社保汇总报表导出
  static exportSocialInsureTotal (params) {
    return axios.request({
      url: '/bill/ExportSocialInsureTotal',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 社保/公积金/商保记录
  static employeeInsureDetails (params) {
    return axios.request({
      url: '/bill/EmployeeInsureDetails ',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 员工花名册薪资
  static employeeSalaryDetails (params) {
    return axios.request({
      url: '/bill/EmployeeSalaryDetails ',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 获取客户合并账单汇总信息
  static getMergedBillInfos (params) {
    return axios.request({
      url: '/bill/GetMergedBillInfos',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 合并的社保明细
  static getMergedSIDetails (params) {
    return axios.request({
      url: '/bill/GetMergedSIDetails',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 合并的公积金明细
  static getMergedCPFDetails (params) {
    return axios.request({
      url: '/bill/GetMergedCPFDetails',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 合并的商保明细
  static getMergedCIDetails (params) {
    return axios.request({
      url: '/bill/GetMergedCIDetails',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 合并的薪资明细
  static getMergedSalaryDetails (params) {
    return axios.request({
      url: '/bill/GetMergedSalaryDetails',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 合并的服务费明细
  static getMergedSFeeDetails (params) {
    return axios.request({
      url: '/bill/GetMergedSFeeDetails',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 合并客户账单汇总
  static getMergedAllFeeTotal (params) {
    return axios.request({
      url: '/bill/GetMergedAllFeeTotal',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 合并客户服务费汇总
  static getMergedSFTotal (params) {
    return axios.request({
      url: '/bill/GetMergedSFTotal',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 合并客户社保汇总
  static getMergedSITotal (params) {
    return axios.request({
      url: '/bill/GetMergedSITotal',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 合并的保险明细（不含薪资）
  static getMergedAllInsureDetails (params) {
    return axios.request({
      url: '/bill/GetMergedAllInsureDetails',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出合并的社保明细
  static exportMergedSIDetails (params) {
    return axios.request({
      url: '/bill/ExportMergedSIDetails',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出合并的公积金明细
  static exportMergedCPFDetails (params) {
    return axios.request({
      url: '/bill/ExportMergedCPFDetails',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出合并的商保明细
  static exportMergedCIDetails (params) {
    return axios.request({
      url: '/bill/ExportMergedCIDetails',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出合并的薪资明细
  static exportMergedSalaryDetails (params) {
    return axios.request({
      url: '/bill/ExportMergedSalaryDetails',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 导出服务费明细
  static exportMergedSFeeDetails (params) {
    return axios.request({
      url: '/bill/ExportMergedSFeeDetails',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 合并的总明细列表导出
  static exportMergedALLDetailTotal (params) {
    return axios.request({
      url: '/bill/ExportMergedALLDetailTotal',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 合并的汇总报表导出PDF
  static exportMergedALLTotalPDF (params) {
    return axios.request({
      url: '/bill/ExportMergedALLTotalPDF ',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 合并的汇总报表导出
  static exportMergedALLTotal (params) {
    return axios.request({
      url: '/bill/ExportMergedALLTotal ',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 获取险种
  static getProgramNames (params) {
    return axios.request({
      url: '/bill/GetProgramNames ',
      method: 'get',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 添加手动处理账单
  static handleBill (params) {
    return axios.request({
      url: '/bill/HandleBill ',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 获取处理历史数据
  static getHandelList (params) {
    return axios.request({
      url: '/bill/GetHandelList ',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 获取账单确认时间
  static getBillCollectExport (params) {
    return axios.request({
      url: '/bill/GetBillCollectExport',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 获取审核详情
  static getBillLog (params) {
    return axios.request({
      url: '/bill/GetBillLog',
      method: 'get',
      enctype: 'multipart/form-data',
      params: params
    })
  }
}
